package factoryMode.prefectDemo.abstractFactory.factory;

import factoryMode.prefectDemo.abstractFactory.cpu.Cpu850;
import factoryMode.prefectDemo.abstractFactory.cpu.ICpu;
import factoryMode.prefectDemo.abstractFactory.screen.IScreen;
import factoryMode.prefectDemo.abstractFactory.screen.Screen5;

/**
 * @author： pang-yun
 * @date： 2021-10-22 01:01
 * 功能目的 ：用于
 */

public class AppleFactory implements IPhoneFactory{
    @Override
    public ICpu getCpu() {
        return new Cpu850();
    }

    @Override
    public IScreen getScreen() {
        return new Screen5();
    }
}
